package cn.itsource.pethome.system.dept.mapper;

import cn.itsource.pethome.base.mapper.BaseMapper;
import cn.itsource.pethome.system.dept.domain.Department;
import org.springframework.stereotype.Repository;

/**
 * @Author:R
 * @Date:2022/12/28 16:18
 * Description
 */
@Repository
public interface DepartmentMapper extends BaseMapper<Department> {
    //根据id查询子级部门
    Long findAllByParentId(Long id);
}
